xend: pass-through: Only tell qemu-xen to unplug function 0
authorKeir Fraser <keir.fraser@citrix.com>
Sat, 27 Jun 2009 08:54:29 +0000 (09:54 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Sat, 27 Jun 2009 08:54:29 +0000 (09:54 +0100)
commit7fd42f5b88882f3213b3087c9aa0faf5c3a8b0d9
tree3d2c1ce94a291145dec79439c2b6399e415cdba0
parent2327a50d23f9dddcd8360deee5dd43ec74ec10ac
xend: pass-through: Only tell qemu-xen to unplug function 0

When unplugging a function, all functions in the same vslot must be
unplugged, and function 0 must be one of the functions present when a
vslot is hot-plugged. Telling qemu-dm to unplug function 0 also tells
it to unplug all other functions in the same vslot.

Cc: Dexuan Cui <dexuan.cui@intel.com>
Cc: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
tools/python/xen/xend/XendDomainInfo.py